using AutoMapper;

namespace Joy.Erp.BasicArchives.Storage
{
    public class WarehouseAutoMapperProfile : Profile
    {
        public WarehouseAutoMapperProfile()
        {
            CreateMap<Warehouse, WarehouseDto>().MapExtraProperties().ReverseMap();
            CreateMap<Warehouse, WarehouseCreateDto>().MapExtraProperties().ReverseMap();
            CreateMap<Warehouse, WarehouseUpdateDto>().MapExtraProperties().ReverseMap();
        }
    }
} 